QT += core network sql

CONFIG += c++17 cmdline

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
        dal/dao/AddressBookDataAccess.cpp \
        dal/dao/MessageDataAccess.cpp \
        dal/dao/OrderDataAccess.cpp \
        dal/dao/ProductDataAccess.cpp \
        dal/dao/UserDataAccess.cpp \
        dal/persistence/DbConnector.cpp \
        dal/persistence/FileConnector.cpp \
        main.cpp \
        service/AddressBookService.cpp \
        service/MessageService.cpp \
        service/OrderService.cpp \
        service/ProductService.cpp \
        service/UserService.cpp \
        view/PptpMessage.cpp \
        view/PptpRequestHandler.cpp \
        view/PptpServer.cpp \
        view/PptpServerRoute.cpp \
        view/PptpSocket.cpp \
        view/ServerThread.cpp

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    dal/dao/AddressBookDataAccess.h \
    dal/dao/MessageDataAccess.h \
    dal/dao/OrderDataAccess.h \
    dal/dao/ProductDataAccess.h \
    dal/dao/UserDataAccess.h \
    dal/persistence/DbConnector.h \
    dal/persistence/FileConnector.h \
    entity/Address.h \
    entity/Message.h \
    entity/Order.h \
    entity/OrderDetail.h \
    entity/Product.h \
    entity/ProductReview.h \
    entity/UserCredential.h \
    entity/UserInfo.h \
    service/AddressBookService.h \
    service/MessageService.h \
    service/OrderService.h \
    service/ProductService.h \
    service/UserService.h \
    view/PptpMessage.h \
    view/PptpRequestHandler.h \
    view/PptpServer.h \
    view/PptpServerRoute.h \
    view/PptpSocket.h \
    view/ServerThread.h
